<?php

	header("Content-Type: text/html;charset=utf-8");

	include("../function/_nosql.php"); //
	include("../function/function.php");
	include("../_include.user.judge.php");
//  $_SESSION['kboy_userid'] = 54;
	$kboy_userid = $_SESSION['kboy_userid'];
//	$kboy_userid = 54;
	$order_no1 = "0500".build_order_no()."u".$kboy_userid;
	$order_no2 = "0501".build_order_no()."u".$kboy_userid;
	$order_no3 = "0502".build_order_no()."u".$kboy_userid;
//	$order_no = substr($order_no,0,3);
//	sp($order_no);

?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <title>金额充值中心</title>
    <link rel="stylesheet" href="css/bootstrap.min.css"/>
    <link rel="stylesheet" href="css/style.css"/>
    <script type="text/javascript" src="../js/baidutongji.js"></script>
</head>
<body class="recycle send order">
<div class="main">
    <span class="nav block align"><i class="block">金额充值中心</i></span>
    <div class="content pull-left">
    	<div class="chongzhi">
    		<p style="text-align: center;"><?php echo getClassName("kboy_user","user_nickname","uid='$kboy_userid'") ?></p>
    		<p class="yueqian">余额：<?php echo getClassName("kboy_user","user_yu_e","uid='$kboy_userid'") ?></p>
    	</div>
    	<p class="bianhao">充值注意事项：充值成功，将无法退还</p>
    	<div class="jine">
    		<p style="padding-left: 20px;">充值金额</p>
    		<p><a href="../weipay/jsapi.php?WIDout_trade_no=<?php echo $order_no1; ?>&uid=<?php echo $kboy_userid; ?>">充值500元 + 赠送：75元</a></p>
    		<p><a href="../weipay/jsapi.php?WIDout_trade_no=<?php echo $order_no2; ?>&uid=<?php echo $kboy_userid; ?>">充值1000元 + 赠送：150元</a></p>
    		<p><a href="../weipay/jsapi.php?WIDout_trade_no=<?php echo $order_no3; ?>&uid=<?php echo $kboy_userid; ?>">充值3000元  + 赠送：600元</a></p>
    	</div>
    </div>
</div>
<footer>
    <nav class="navbar navbar-default navbar-fixed-bottom">
        <div class="col-xs-12 btn-group">
            <a href="index.php" class="col-xs-3 nopadding text-center bottomDiv">
                <span class="dora-font">首页</span>
            </a>

            <a href="huodong.php" class="col-xs-3 nopadding text-center bottomDiv">
                <span class="dora-font">活动</span>
            </a>

            <a href="mycloset.php" class="col-xs-3 nopadding text-center bottomDiv">
                <span class="dora-font">社区</span>
            </a>

            <a href="personal.php" class="col-xs-3 nopadding text-center bottomDiv">
                <span class="dora-font">我</span>
            </a>
        </div>
    </nav>
</footer>
</body>
<script type="application/javascript" src="js/jquery.min.js"></script>
<script type="application/javascript" src="js/bootstrap.min.js"></script>
<script type="application/javascript">
    $(function () {
        $(".choose").click(function(){
            if($(this).hasClass("selected")){
                $(this).html("&#xe62c;");
                $(this).removeClass("selected");
            }else{
                $(this).html("&#xe629;");
                $(this).addClass("selected");
            }
        });
    });
</script>
</html>